/* 全局布局样式 */
.admin-container { height: 100vh; }
.admin-header { background: #fff; padding: 0 20px; border-bottom: 1px solid #e6e6e6; }
.admin-aside { background: #001529; color: #fff; }
.admin-main { padding: 20px; background: #f5f5f5; overflow-y: auto; }

/* 顶部导航样式 */
.header-left { display: flex; align-items: center; }
.header-menu { border-bottom: none; }
.header-right { display: flex; align-items: center; justify-content: flex-end; height: 100%; }
.user-info { display: flex; align-items: center; cursor: pointer; }
.user-greeting { margin-right: 10px; color: #606266; }
.user-avatar { border: 1px solid #e6e6e6; }

/* 侧边栏样式 */
.logo-container { padding: 20px; text-align: center; border-bottom: 1px solid #001f38; }
.logo-text { color: #fff; margin: 0; font-size: 20px; }
.aside-menu { border-right: none; height: calc(100% - 60px); }

/* 统计卡片样式 */
.stats-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
.stat-card { height: 120px; display: flex; align-items: center; padding: 0 20px; }
.stat-content { flex: 1; }
.stat-title { color: #909399; font-size: 14px; margin-bottom: 5px; }
.stat-value { font-size: 24px; font-weight: bold; color: #303133; }
.stat-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.stat-icon.el-icon { font-size: 20px; }

/* 内容网格样式 */
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 20px; }
.right-cards { display: flex; flex-direction: column; gap: 20px; }
.content-card { overflow: hidden; }

/* 图表卡片样式 */
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.card-title { font-size: 18px; margin: 0; color: #303133; }
.chart-legend { display: flex; gap: 10px; }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.food-dot { background-color: #909399; }
.clothes-dot { background-color: #E6A23C; }
.electronics-dot { background-color: #67C23A; }
.chart-container { padding: 10px 0; }
.chart-data { display: flex; gap: 20px; align-items: center; }
.chart-values { flex: 0 0 150px; }
.chart-value-item { margin-bottom: 8px; font-size: 14px; }
.chart-area { width: 100%; height: 200px; }

/* 天气卡片样式 */
.weather-card { height: 160px; }
.weather-info { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; }
.temperature { font-size: 48px; font-weight: bold; margin-bottom: 10px; }
.weather-icon img { width: 50px; height: 50px; border-radius: 50%; }
.location { color: #909399; margin-top: 5px; }

/* 引用卡片样式 */
.quote-card { height: calc(100% - 180px); }
.quote-text { font-style: italic; margin-bottom: 15px; color: #606266; line-height: 1.6; }
.quote-author { font-weight: bold; color: #303133; }
.quote-role { color: #909399; font-size: 12px; }

/* 表格样式 */
.table-card { margin-top: 20px; }

/* 响应式样式 */
@media (max-width: 1200px) {
  .stats-cards { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .stats-cards { grid-template-columns: 1fr; }
  .chart-data { flex-direction: column; }
  .chart-values { width: 100%; }
}